module.exports = {
  projectName: "cloud-accounting-enterprise-final",
  // privateKey: "C:/Users/alick/.ssh/id_rsa",
  passphrase: "",
  cluster: ['prod', 'load'],
  test: {
    name: "测试环境",
    script: "npm run test",
    host: "8.142.139.164",
    port: 22,
    username: "root",
    password: "YUNdaizhang123456",
    distPath: "dist",
    webDir: "/ydzdata/wwwroot/enterprise_subcompany_web_basic",
    isRemoveRemoteFile: true
  },
  pre: {
    name: "预生产环境",
    script: "npm run pre",
    host: "39.107.26.138",
    port: 22,
    username: "root",
    distPath: "dist",
    webDir: "/ydzdata/wwwroot/enterprise_subcompany_web_basic",
    bakDir: '/ydzdata/wwwroot/enterprise_subcompany_web_basicBackup',
    isRemoveRemoteFile: true
  },
  prod: {
    name: "生产环境-服务器1",
    script: "npm run build",
    host: "101.200.44.88",
    port: 22,
    username: "root",
    distPath: "dist",
    webDir: "/wwwroot/basic_unify_web",
    bakDir: '/wwwroot/basic_unify_webBackup',
    isRemoveRemoteFile: true, // 是否删除远程服务器打包文件
    isRemoveLocalFile: false // 是否删除本地打包文件
  },
  load: {
    name: "生产环境-服务器2",
    host: "101.200.44.88",
    port: 22,
    username: "root",
    password: "YUNdaizhang123456",
    distPath: "dist",
    webDir: "/wwwroot/basic_unify_web2",
    bakDir: '/wwwroot/basic_unify_web2Backup',
    isRemoveRemoteFile: true, // 是否删除远程服务器打包文件
    isRemoveLocalFile: true // 是否删除本地打包文件
  }
};
